package com.study.spring.security.mapper;

import com.study.spring.security.bean.PermissionExt;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.security.Permission;
import java.util.List;

public interface PermissionMapper {
    @Select("select * from tb_permission where parent_id= #{parent_id}")
    List<PermissionExt> selectByUserId(@Param("parent_id") Long parent_id);
}
